/**
 * @file Path.h
 * @author  
 * @brief 路径类
 * @version 1.0
 * @date 2020-07-23
 * 
 * @copyright Copyright (c) 2020
 * 
 */

#pragma once
#include <vector>

namespace behavior_controller
{
    template <typename Type>
    class Path
    {
    public:
        bool empty() const { return path_.empty(); }
        size_t size() const { return path_.size(); }
        const std::vector<Type> &path() const { return path_; }

        void clear() { path_.clear(); }
        void pop_back() { path_.pop_back(); }

    protected:
        std::vector<Type> path_;
    };
} // namespace behavior_controller